<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CCS 选择器组合</title>
<style type="text/css">
h1, h2, h3, h4, h5, p{				/*集体声明*/
	color:#09F;						/*颜色蓝绿*/
	font-size:24px;					/*字体大小24px*/
}
h2.ABC, .ABC, #DEF{
	text-decoration:underline;
	background-color:red;		/*下划线*/
}
</style>
</head>

<body>
	<h1>标题内容1</h1>
    <h2 class="ABC">标题内容2</h2>
    <h3>标题内容3</h3>
    <h4>标题内容4</h4>
    <h5 id="DEF">标题内容5</h5>
    <p>正文内容6</p>
    <p>正文内容7</p>
    <p>正文内容8</p>
</body>
</html>
